<extend name="Public/base"/>

<block name="body">
	<div class="main-title">
		<h2>网站设置</h2>
	</div>
	<div class="tab-wrap">
		<ul class="tab-nav nav">
			<li class="current"><a href="{:U('wxset/index')}">微信配置</a></li>
		</ul>
		<div class="tab-content">
			<form action="{:U('save')}" method="post" class="form-horizontal">
				<div class="form-item">
					<label class="item-label">微信名称[推送]<span class="check-tips">(必填)</span> </label>
					<div class="controls">
						<input type="text" class="text input-large" name="config[wxname]" value="{$config.wxname}">
					</div>
					<label class="item-label">微信URL前缀[推送]<span class="check-tips">(必填)</span> </label>
					<div class="controls">
						<input type="text" class="text input-large" name="config[wxurl]" value="{$config.wxurl}">
					</div>
					<label class="item-label">微信首次关注描述[推送]<span class="check-tips">(必填)</span> </label>
					<div class="controls">
						<input type="text" class="text input-large" name="config[wxsummary]" value="{$config.wxsummary}">
					</div>
					<label class="item-label">微信关注链接<span class="check-tips">(必填)</span> </label>
					<div class="controls">
						<input type="text" class="text input-large" name="config[wxsuburl]" value="{$config.wxsuburl}">
					</div>
					<label class="item-label">微信APPID<span class="check-tips">(必填)</span> </label>
					<div class="controls">
						<input type="text" class="text input-large" name="config[wxappid]" value="{$config.xwappid}">
					</div>
					<label class="item-label">微信APPSECRET<span class="check-tips">(必填)</span> </label>
					<div class="controls">
						<input type="text" class="text input-large" name="config[wxappsecret]" value="{$config.value}">
					</div>
					<label class="item-label">微信TOKEN<span class="check-tips">(必填)</span> </label>
					<div class="controls">
						<input type="text" class="text input-large" name="config[wxtoken]" value="{$config.value}">
					</div>
					<label class="item-label">商户号<span class="check-tips">(必填)</span> </label>
					<div class="controls">
						<input type="text" class="text input-large" name="config[wxmchid]" value="{$config.value}">
					</div>
					<label class="item-label">密钥<span class="check-tips">(必填)</span> </label>
					<div class="controls">
						<input type="text" class="text input-large" name="config[wxmchkey]" value="{$config.value}">
					</div>
				</div>
				<div class="form-item">
					<label class="item-label"></label>
					<div class="controls">
						<button type="submit" class="btn submit-btn ajax-post" target-form="form-horizontal">确 定</button>
						<button class="btn btn-return" onclick="javascript:history.back(-1);return false;">返 回</button>
					</div>
				</div>
			</form>
		</div>
	</div>
</block>

<block name="script">

</block>
